<layout name='layout' />

<div class="admin-main">

	<blockquote class="layui-elem-quote">
		<button class="layui-btn layui-btn-small" onclick="window.location.reload();">
			<i class="fa fa-refresh"></i> 刷新
		</button>

		<button class="layui-btn layui-btn-small layui-btn-danger" id="delBtn">
			<i class="fa fa-close"></i> 删除
		</button>

		<div class="search">
			<form class="layui-form" method="post" action="<{:U('Yewu/submit')}>">
			<div class="layui-input-inline">
			<input type="text" name="username" placeholder="手机号码" class="layui-input layui-btn-small">
			</div>
			<button type="submit" class="layui-btn" lay-submit=""><i class="layui-icon">&#xe615;</i> 搜索</button>
			<a href="<{:U('Yewu/submit')}>" class="layui-btn layui-btn-primary">重置</a>
			</form>
		</div>
	</blockquote>

	<fieldset class="layui-elem-field">
		<legend>数据列表</legend>
		<div class="layui-field-box">
			<form id="ajaxForm" method="post" action="<{:U('Yewu/delsubmit')}>">
			<table class="site-table table-hover">
				<thead>
					<tr>	
						<th><input type="checkbox" id="selected-all"></th>						
						<th>会员编号</th>
						<th>姓名</th>
						<th>手机</th>
						<th>公司</th>
						<th>申请业务</th>
						<th>备注</th>
						<th>日期</th>
						<th>状态</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<volist name="list" id="vo">
					<tr>
						<td><input type="checkbox" name="selectedids[]" value="<{$vo.id}>"></td>
						<td><{$vo.memberID}></td>
						<td><{$vo.name}></td>
						<td><{$vo.mobile}></td>
						<td><{$vo.company}></td>
						<td><{$vo.goods}></td>			
						<td><{$vo.intr}></td>	  
						<td><{$vo.createTime|date='Y-m-d H:i:s',###}></td>
						<td id="td<{$vo.id}>"><eq name="vo.status" value="0"><span class="red">未处理</span><else/>已处理</eq></td>
						<td><eq name="vo.status" value="0"><a href="javascript:;" data-url="<{:U('Yewu/statusDo')}>" data-id="<{$vo.id}>" class="layui-btn layui-btn-mini tx-btn">确认处理</a></eq></td>
					</tr>	
					</volist>						
				</tbody>
			</table>
			</form>
		</div>
	</fieldset>
	<div class="admin-table-page">
		<div id="page" class="page"><{$page}></div>
	</div>
</div>

<script type="text/javascript">
$("#type").val("<{$type}>");
</script>
		
